<template>
  <div class="title" v-if="$route.meta.title">
      <go-back class="back"  v-if="!$route.meta.back"></go-back>
      <h3 class="header" >{{$route.meta.title}}</h3>
      
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>
  .title{
    background: #ff4400;
    height: 1rem;
    display: flex;
    position: relative;
  }
.back{
  position: absolute;
  width: 1rem;
  line-height: 1rem;


}
.header{
  width: 100%;
  flex: 1;
  box-sizing: border-box;
  font-size:.45rem;
  line-height: 1rem;
  text-align: center;
  color: #fff;
}
</style>